source: MML/trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_5.html

Last change on this file was 17, checked in by zhangj, 10 years ago

To have a stable version on the server.

  • Property svn:executable set to *
File size: 4.3 KB
Line 
1<html xmlns:saxon="http://icl.com/saxon">
2   <head>
3      <link rel="stylesheet" type="text/css" href="doc.css"/>
4      <link rel="stylesheet" type="text/css" href=""/>
5      <meta author="The MathWorks Ltd."/>
6      <meta copyright="2011 The MathWorks Ltd."/>
7      <title>uiextras.get</title>
8   </head>
9
10   
11    <body>
12      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
13         <tr>
14            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
15            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference4_4.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="index.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
16         </tr>
17      </table>
18   
19
20      <br clear="all"/>
21         
22      <h2>4.5: uiextras.get&nbsp;<a href="Function reference.html#4"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
23     
24                 
25                 
26            <p>Retrieve a default property value from a parent object</p>
27                        <dl>
28                 <dt><code class="OUTARG">propValue</code><code class="FUNCTION"> = uiextras.get(</code><code class="INARG">&nbsp;hObj</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;propName</code><code class="FUNCTION">&nbsp;)</code></dt>
29                 <dd>retrieves a default property
30value from the object hObj. Note that the hObj must be a valid graphics
31container object such as a uipanel, figure or the special flag 0 (the
32overall environment). The property name should take the form
33"DefaultClassProperty", for example to get the default "TitleColor" for
34the class "uiextras.BoxPanel", use "DefaultBoxPanelTitleColor".If no
35default has been set for the specified property an error is thrown.</dd>                 
36             </dl>
37             
38             <h3>For example:</h3>
39                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">p = <a href="uiextras.get.html"><code class="FUNCTION">uiextras.get</code></a>( <a href="matlab:doc gcf"><code class="FUNCTION">gcf</code></a>(), <code class="STRING">'DefaultBoxPanelTitleColor'</code> )</font></pre>
40                 
41                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">p = <a href="uiextras.get.html"><code class="FUNCTION">uiextras.get</code></a>( 0, <code class="STRING">'DefaultHBoxPadding'</code> )</font></pre>
42                 
43             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.set.html">uiextras.set</a></code> - for setting a default property value in a parent object</li></ul>
44       
45     
46      <br clear="ALL"/>
47      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
48         <tr>
49            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference4_4.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
50            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference4_4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.set</font></a></td>
51            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
52            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Front page</font></a></td>
53            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="index.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
54         </tr>
55      </table>
56      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
57      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
58      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
59      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
60   
61   </body>
62</html>
63&gt;
Note: See TracBrowser for help on using the repository browser.